/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package fresher.vng.model;

import java.util.ArrayList;
import java.util.LinkedList;
import java.util.List;
import java.util.Queue;
import org.eclipse.jetty.continuation.Continuation;

/**
 *
 * @author quangtm5
 */
public class UserModel {
    
    private String _nameOfAuthor;
    
    private Continuation _continuation;

    private Queue<String> _message = new LinkedList<String>();

    private List<String> _nameOfReceiver = new LinkedList<String>();
    
    public String getNameOfAuthor()
    {
        return _nameOfAuthor;
    }

    public void setNameOfAuthor(String _nameOfAuthor)
    {
        this._nameOfAuthor = _nameOfAuthor;
    }

    
    public UserModel(String aName)
    {
        _nameOfAuthor = aName;
        
    }
     

    public Continuation getContinuation()
    {
        return _continuation;
    }

    public void setContinuation(Continuation _continuation)
    {
        this._continuation = _continuation;
    }

    public Queue<String> getMessage()
    {
        return _message;
    }

    public void setMessage(Queue<String> _message)
    {
        this._message = _message;
    }

    public List<String> getNameOfReceiver()
    {
        return _nameOfReceiver;
    }

    public void setNameOfReceiver(List<String> _nameOfReceiver)
    {
        this._nameOfReceiver = _nameOfReceiver;
    }
    
    
    
}
